#ifndef _BLOCKBREAKER_GAME_INSTALLPLAYERGAMEEVENT_H__
#define _BLOCKBREAKER_GAME_INSTALLPLAYERGAMEEVENT_H__

#include <Game/Include/GameEvent.h>

class InstallPlayerGameEvent : public GameEvent
{
public:
    InstallPlayerGameEvent(const int &id, const int &paddle_pos_x, const int &paddle_pos_y);
    InstallPlayerGameEvent(std::istream &s);
    virtual ~InstallPlayerGameEvent(void);

    unsigned int serialize(std::ostream &s);

    int getPlayerId() const;
    float getPosX() const;
    float getPosY() const;

private:
    int id;
    float pos_x;
    float pos_y;
};

#endif // _BLOCKBREAKER_GAME_INSTALLPLAYERGAMEEVENT_H__